package com.sgcc.fj.pmos.common.bean;

import com.blankj.utilcode.util.GsonUtils;

public class FaceGetCodeBean extends BaseResponse {

    private int status;
    private String message;


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private String data;

    public CodeBeam getDataBean() {
        CodeBeam codeBeam = GsonUtils.fromJson(data, CodeBeam.class);
        return codeBeam;
    }




    public String getData(){
        return  data;
    }



    public static class  CodeBeam{


        private ResultDTO result;
        private String serverlogid;
        private String error_msg;
        private String err_msg;
        private int cached;
        private int error_code;
        private int err_no;
        private int timestamp;

        public ResultDTO getResult() {
            return result;
        }

        public void setResult(ResultDTO result) {
            this.result = result;
        }

        public String getServerlogid() {
            return serverlogid;
        }

        public void setServerlogid(String serverlogid) {
            this.serverlogid = serverlogid;
        }

        public String getError_msg() {
            return error_msg;
        }

        public void setError_msg(String error_msg) {
            this.error_msg = error_msg;
        }

        public String getErr_msg() {
            return err_msg;
        }

        public void setErr_msg(String err_msg) {
            this.err_msg = err_msg;
        }

        public int getCached() {
            return cached;
        }

        public void setCached(int cached) {
            this.cached = cached;
        }

        public int getError_code() {
            return error_code;
        }

        public void setError_code(int error_code) {
            this.error_code = error_code;
        }

        public int getErr_no() {
            return err_no;
        }

        public void setErr_no(int err_no) {
            this.err_no = err_no;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }

        public static class ResultDTO {
            private String code;
            private String session_id;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getSession_id() {
                return session_id;
            }

            public void setSession_id(String session_id) {
                this.session_id = session_id;
            }
        }
    }


}
